package com.lawfinal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author KBr
 * @since 2024-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Lawyer对象", description="")
public class Lawyer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String password;

    private String card;

    @ApiModelProperty(value = "主要执业类型")
    private String classify;

    @ApiModelProperty(value = "证书类型")
    private String credential;

    @ApiModelProperty(value = "是否生效：0-待审核；1-正常；2-封禁")
    private Integer state;

    @ApiModelProperty(value = "办理案件数量")
    private String num;

    @ApiModelProperty(value = "证书编号")
    @TableField("creNum")
    private String crenum;

    private String img;


}
